package expression;

import model.MUndefinedObject;

public class MObjectIdent extends MIntVar {
	private MUndefinedObject object;

	public MObjectIdent(MUndefinedObject o) {
		super(o.getCore(), "Object[" + o.getId() + "]");
		object = o;
	}

	public void reset() {
		int[] temp = {0, object.getId()};
		variable = getCore().getProblem().makeEnumIntVar(toText(), temp);
	}

	public MObjectIdent eval() {
		return this;
	}
}
